import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
// import './permission' // permission
import flexible from './static/js/flexible.js'
import commonjs from "./common/method.js"
import uView from "uview-ui";
import config from '@/config.js'

Vue.use(uView);
Vue.use(plugins)
Vue.use(flexible)
Vue.use(commonjs)
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$config = config // 挂载整个配置对象

App.mpType = 'app'

const app = new Vue({
	...App
})

app.$mount()